package com.chis.jxc;

import com.chis.jmdatatimer.comm.JedisConnect;
import com.chis.jmdatatimer.comm.TxMgmtModule;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import redis.clients.jedis.ShardedJedis;
import redis.clients.jedis.ShardedJedisPool;

import java.util.List;

public class Redis2Hbase2 {

    public static void main(String[] args) {

        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext(new String[] {"spring.xml"});
        context.start();
        TxMgmtModule txMgmtModule = (TxMgmtModule) context.getBean("TxMgmtModule");
        System.out.println("===1");
            List<String> codes = txMgmtModule.kccodeyz("1111");
        System.out.println(codes.get(0));
    }
}
